#include "CRectangle.h"
#include <conio.h>

int main()
{
	CRectangle *rectb;
	CRectangle *rectc = new CRectangle;
	rectc->setValues(8, 9);
	rectb = rectc;
	cout << "area:" << rectb->area();
	cout << "\n";
	cout << "area:" << rectc->area();
	_getch();
	return 0;
}